/**
 * navConfig用在route和menu
 */
const navTree = [
  {
    path: "/",
    name: "首页",
    icon: "el-icon-s-home"
  },
  {
    path: "/main/company",
    name: "公司注册",
    icon: "el-icon-school",
    meta: {
      permission: [1]
    }
  },
  {
    name: '公司注册',
    icon: "el-icon-school",
    code: "company",
    meta: {
      permission: [2]
    },
    child: [
      {
        path: '/list/company/industry',
        name: '工商注册'
      },
      {
        path: '/list/company/seal',
        name: '印刻公章'
      },
      {
        path: '/list/company/bank',
        name: '银行开户'
      },
      {
        path: '/list/company/taxation',
        name: '税务登记'
      },
      {
        path: '/list/company/social',
        name: '社保开户'
      }
    ]
  },
  {
    name: "财务处理",
    icon: "el-icon-s-finance",
    code: "finance",
    show: true,
    child: [
      {
        path: "/list/finance/draw",
        name: "开具发票"
      },
      {
        path: "/list/finance/send",
        name: "寄送发票"
      },
      {
        path: "/list/finance/stream",
        name: "银行流水"
      }
    ]
  },
  {
    name: "用户设置",
    icon: "el-icon-setting",
    code: "finance",
    meta: {
      permission: [2]
    },
    child: [
      {
        path: "/user/list",
        name: "用户列表"
      }
    ]
  },
  {
    path: "/user/role",
    name: "角色测试"
  }
  // ,
  // {
  //   path: "/taxation/list",
  //   name: "税务处理",
  //   icon: "icon-chengshi"
  // },
  // {
  //   path: "/report/list",
  //   name: "财务报表",
  //   icon: "icon-chengshi"
  // },
  // {
  //   path: '/social/list',
  //   name: '社保开户',
  //   icon: 'icon-chengshi'
  // }
];

export { navTree };
